package com.ssh.entity;

import java.sql.Timestamp;

/**
 * AskForleave entity. @author MyEclipse Persistence Tools
 */

public class AskForleave implements java.io.Serializable {

	// Fields

	private Timestamp aflDate;
	private Short aflFor;
	private Timestamp backDate;
	private Integer idaskForleave;
	private String RComments;
	private String reason;
	private String reviewerId;
	private String staffId;
	private Integer state;

	// Constructors

	/** default constructor */
	public AskForleave() {
	}

	/** minimal constructor */
	public AskForleave(String staffId) {
		this.staffId = staffId;
	}

	/** full constructor */
	public AskForleave(String staffId, String reviewerId, Timestamp leaveDate,
			Timestamp backDate, String RComments, Short aflFor, Integer state,
			String reason) {
		this.staffId = staffId;
		this.reviewerId = reviewerId;
		this.aflDate = leaveDate;
		this.backDate = backDate;
		this.RComments = RComments;
		this.aflFor = aflFor;
		this.state = state;
		this.reason = reason;
	}

	// Property accessors

	/**
	 * @return the aflDate
	 */
	public Timestamp getAflDate() {
		return aflDate;
	}

	public Short getAflFor() {
		return this.aflFor;
	}

	/**
	 * @return the backDate
	 */
	public Timestamp getBackDate() {
		return backDate;
	}

	public Integer getIdaskForleave() {
		return this.idaskForleave;
	}

	public String getRComments() {
		return this.RComments;
	}

	public String getReason() {
		return this.reason;
	}

	public String getReviewerId() {
		return this.reviewerId;
	}

	public String getStaffId() {
		return this.staffId;
	}

	public Integer getState() {
		return this.state;
	}

	/**
	 * @param aflDate
	 *            the aflDate to set
	 */
	public void setAflDate(Timestamp aflDate) {
		this.aflDate = aflDate;
	}

	public void setAflFor(Short aflFor) {
		this.aflFor = aflFor;
	}

	/**
	 * @param backDate
	 *            the backDate to set
	 */
	public void setBackDate(Timestamp backDate) {
		this.backDate = backDate;
	}

	public void setIdaskForleave(Integer idaskForleave) {
		this.idaskForleave = idaskForleave;
	}

	public void setRComments(String RComments) {
		this.RComments = RComments;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public void setReviewerId(String reviewerId) {
		this.reviewerId = reviewerId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}